#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
int main()
{
	int a = 1;
	int b = 2;
	int c = 3;
	int d = (a = a + b - 2, b = a * c, c = b * b);
	printf("%d", d);
	return 0;
}